<!DOCTYPE html>
<html>
  <head>
    <title>续费会员二审管理</title>
    <#include "/inc/base-style.ftl">
     <link rel="stylesheet" href="${staticPath}/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
     <#include "/style/auditForm/form-style.ftl">
  </head>
  <body class="${bodyClass}">
    <div class="wrapper">
      <!-- Main Header -->
     <#include "/inc/main-header.ftl">
      <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <#include "/inc/slidebar-menu.ftl">
        </section>
        <!-- /.sidebar -->
      </aside>

   <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
			续费会员二审列表	 
          </h1>
        </section>

        <!-- Main content -->
        <section class="content">
		  <!-- query start -->
			<div class="panel panel-default">
				    <div class="panel-body">
				     <form class="form-horizontal"  role="form" action ="/crm/auditrecord/renewSecondAuditList" method ="get">
						  <div class="control-group form-group">
						     <label class="control-label iinputfirst col-sm-2">续费审核状态:</label> 
							<div class="col-sm-2">
							  <select class="form-control" id="status" name ="status" style="width: 180px;">
									<option value=-1>全部</option>
									<#list dicts as dict>
									<#if dict.itemKey=="${status}">
									<option value="${dict.itemKey}" selected = "selected">${dict.itemName}</option>
									<#else>
									       <option value="${dict.itemKey}">${dict.itemName}</option>
									 </#if>
									</#list> 
								</select>
							 </div>
							 <label class="control-label iinput col-sm-2">关键字:</label> 
							<div class="col-sm-2">
						      <input type="text" id="keywords" name="keyWords" value ="${keyWords}" class="form-control" style="width: 180px;"/>
							</div>
							<div class="col-sm-4">
					              <input type="submit" id="ds_btn" class="btn btn-primary btn-mtop" value="查询" />
							</div>
						  </div>
				     </form> 
				    </div>
				</div>
			<!-- query end -->
	<!-- /.box-header -->
			<div class="box-body">
				<table id="example" class="table table-hover">
					<thead>
						<tr>
							<th width="20"></th>
							<th width="15%">姓名</th>
							<th width="10%">职务</th>
							<th width="30%">公司</th>
							<th width="10%">服务经理</th>
							<th width="15%">续费审核状态</th>
							<th width="20%">操作</th>
						</tr>
					</thead>	
					<tbody>
					<#if (lists?size>0) >
						<#list lists as clientInfoVo>
						<tr data-uid="${clientInfoVo.user_id}" data-uname="${clientInfoVo.user_id}" >
							<td>${clientInfoVo.id}</td>
							<td>${clientInfoVo.uname}</td>
							<td>${clientInfoVo.position}</td>
							<td>${clientInfoVo.com_name}</td>
							<td>${clientInfoVo.serviceName}</td>
							<td>${clientInfoVo.statusName}</td>
							<td>
								<a href="/crm/renewsecond/renewSecondAuditPage?uid=${clientInfoVo.user_id}" class="btn btn-xs btn-primary edit-btn">续费二审</a>
								<!--<a href="javascript:;" onclick="renewSecondAudit(${clientInfoVo.user_id});return false;" class="btn btn-xs btn-primary edit-btn">续费二审</a>--> 
							</td>
						</tr>
						</#list>
					<#else>
				                暂无数据
				     </#if>
					</tbody>
				</table>
			</div>
			<div class="box-footer">
				<@zhd.page pm url />
			</div>
		</div>

        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->
    <#include "/inc/main-footer.ftl">
   <!-- Control Sidebar -->
      <!-- /.control-sidebar -->
      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      
    </div><!-- ./wrapper -->

		<div class="modal fade" id="renewSecondAuditModal" role="dialog" aria-labelledby="gridSystemModalLabel">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="gridSystemModalLabel">续费二审页面</h4>
		      </div>
		      <div class="modal-body">
		        <div class="container-fluid">
		          <div class="row">
		            <div class="col-md-12 text-left">审核期间：</div>
		          </div>
		          <div class="row">
		            <div class="col-md-12">审核理由：
		              <!--uc：id -->
					     <input type="hidden" id="uid"  name="uid" value="${vo.uid}"/>
					    <!--审核分类：0：审核部 1:销售总监 -->
					     <input type="hidden" id="auditClassify"  name="auditClassify" value="0"/>
					     <!--类型：1：登岛  2：续费 3：年审-->
					     <input type="hidden" id="auditType"  name="auditType" value="1"/>
					     <input id="auditRemark" type="text" id="auditRemark" name="auditRemark"  />
						 <input type="button" id="second_audit_pass"  onclick="submitAudit(1);return false;" style="padding-left: 18px;" class="btn btn-success" value="审核通过" />
						 <input type="button" id="second_audit_notpass" onclick="submitAudit(2);return false;" style="padding-left: 18px;" class="btn btn-danger" value="审核不通过" /> 
						 <span style="color: red;" id="tips"></span>
		            </div>
		          </div>
		        </div>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-primary">保存</button>
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		      </div>
		    </div><!-- /.modal-content -->
		  </div><!-- /.modal-dialog -->
		</div><!-- /.modal -->

	<#include "/inc/base-script.ftl">
	<!-- 自定义script -->
	<#include "/script/auditRecord/auditScript.ftl">

  </body>
</html>

